package com.example.boot.rtbanner.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.boot.rtbanner.dao.RtBannerDao;
import com.example.boot.rtbanner.model.RtBanner;
import com.example.boot.rtbanner.service.RtBannerService;

@Service
public class RtBannerImpl implements RtBannerService {

	@Autowired
	private RtBannerDao rtBannerMapper;

	@Override
	public List<RtBanner> findByBanner() {

		return rtBannerMapper.findByBanner();
	}

}
